package hospital.repository;

import hospital.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author
 * @description:
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    //通过hoscode depcode 得到department
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
